package com.ruoyi.weixin.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户支付表对象 kss_user_pay
 * 
 * @author cfw
 * @date 2021-10-07
 */
public class KssUserPay extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 课程唯一id */
    @Excel(name = "课程唯一id")
    private String courseid;

    /** 课程标题 */
    @Excel(name = "课程标题")
    private String userid;

    /** 课程简短介绍 */
    @Excel(name = "课程简短介绍")
    private String nickname;

    /** 课程封面地址 */
    @Excel(name = "课程封面地址")
    private String tradeno;

    /** 课程的活动价 */
    @Excel(name = "课程的活动价")
    private String price;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCourseid(String courseid) 
    {
        this.courseid = courseid;
    }

    public String getCourseid() 
    {
        return courseid;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }
    public void setTradeno(String tradeno) 
    {
        this.tradeno = tradeno;
    }

    public String getTradeno() 
    {
        return tradeno;
    }
    public void setPrice(String price)
    {
        this.price = price;
    }

    public String getPrice()
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseid", getCourseid())
            .append("userid", getUserid())
            .append("nickname", getNickname())
            .append("tradeno", getTradeno())
            .append("price", getPrice())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
